﻿<%@ Page Language="C#" CodeBehind="Login.aspx.cs" Inherits="BikeBouncer.Site.Login_aspx" MasterPageFile="/MainLayout.master" %>
<asp:Content ContentPlaceHolderID="MainContents" runat="server">
	<asp:Panel ID="PanActivated" runat="server">
		<strong><asp:Label CssClass="Ok" meta:resourcekey="LblActivated" runat="server" /></strong>
	</asp:Panel>
	<p>
		<asp:Literal ID="LitLoginInfo" meta:resourcekey="LitLoginInfo" runat="server" />
		<asp:Label ID="LblError" Font-Bold="true" CssClass="Error" runat="server" />
	</p>
	<div class="PanelForm">
		<asp:Label CssClass="FormLabelRequired" AssociatedControlID="TxtUserEmail" meta:resourcekey="LblUserEmail" runat="server" />
		<asp:TextBox ID="TxtUserEmail" CssClass="FormText" Width="220px" meta:resourcekey="TxtUserEmail" runat="server" />
		<asp:RequiredFieldValidator ID="ReqTxtUserEmail" ControlToValidate="TxtUserEmail" Display="Dynamic" Text="*" meta:resourcekey="ReqTxtUserEmail" runat="server" />
		<asp:RegularExpressionValidator ID="ValTxtUserEmail" ControlToValidate="TxtUserEmail" Display="Dynamic" Text="*" meta:resourcekey="ValTxtUserEmail" runat="server" />
		<br />
		<asp:Label CssClass="FormLabelRequired" AssociatedControlID="TxtUserPassword" meta:resourcekey="LblUserPassword" runat="server" />
		<asp:TextBox ID="TxtUserPassword" CssClass="FormText" Width="220px" TextMode="Password" meta:resourcekey="TxtUserPassword" runat="server" />
		<asp:RequiredFieldValidator ID="ReqTxtUserPassword" ControlToValidate="TxtUserPassword" Display="Dynamic" Text="*" meta:resourcekey="ReqTxtUserPassword" runat="server" />
	</div>
	<div class="PanelButtons">
		<asp:ValidationSummary CssClass="ValSummary" DisplayMode="List" ShowSummary="true" HeaderText="<%$ Resources:Messages,ValidationSummary %>" runat="server" />
		<asp:Button ID="ButLogin" CssClass="FormButton" OnClick="ButLogin_Click" meta:resourcekey="ButLogin" runat="server" />
	</div>
	<br />
	<div>
		<asp:Literal meta:resourcekey="LitPasswordForgot" runat="server" />
		<asp:HyperLink NavigateUrl="/ForgotPassword.aspx" meta:resourcekey="LinkPasswordReset" runat="server" />
	</div>
	<br />
	<div>
		<asp:Literal meta:resourcekey="LitRegister" runat="server" />
		<asp:HyperLink NavigateUrl="/Register.aspx" meta:resourcekey="LinkRegister" runat="server" />
	</div>
</asp:Content>